import datetime


JWT_AUTH = {
    # 自定义返回json
    'JWT_RESPONSE_PAYLOAD_HANDLER':
    'utils.utils.jwt_response_payload_handler',

    'JWT_REFRESH_EXPIRATION_DELTA': datetime.timedelta(days=7),
    'JWT_EXPIRATION_DELTA': datetime.timedelta(days=7),

    # 'JWT_AUTH_HEADER_PREFIX': 'JWT',
    # 'JWT_AUTH_COOKIE': 'vue_admin_template_token',
}
